package com.ruoyi.system.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业数字化诊断任务对象 sys_company_report_task
 * 
 * @author ruoyi
 * @date 2023-06-28
 */
@ApiModel(value="企业数字化诊断任务")
public class SysCompanyReportTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * 任务id
     */
    @ApiModelProperty(value="任务id")
    private Long taskId;

    /**
     * 报告id
     */
    @ApiModelProperty(value="报告id")
    private Long reportId;

    /**
     * 企业id
     */
    @ApiModelProperty(value="企业id")
    private Long deptId;

    /**
     * 报告路径
     */
    @ApiModelProperty(value="报告路径")
    private String reportPath;

    /**
     * 报名名称
     */
    @ApiModelProperty(value="报名名称")
    private String reportName;

    /**
     * 报告状态
     */
    @ApiModelProperty(value="报告状态")
    private String reportStatus;

    /**
     * 报告版本
     */
    @ApiModelProperty(value="报告版本")
    private Integer version;
    /**
     * 耗时（s）
     */
    @ApiModelProperty(value="耗时（s）")
    private Integer duration;

    /** 部门名称 */
    @ApiModelProperty(name="deptName", value="公司名称")
    private String deptName;

    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setReportPath(String reportPath) 
    {
        this.reportPath = reportPath;
    }

    public String getReportPath() 
    {
        return reportPath;
    }
    public void setReportName(String reportName) 
    {
        this.reportName = reportName;
    }

    public String getReportName() 
    {
        return reportName;
    }
    public void setReportStatus(String reportStatus) 
    {
        this.reportStatus = reportStatus;
    }

    public String getReportStatus() 
    {
        return reportStatus;
    }
    public void setVersion(Integer version)
    {
        this.version = version;
    }

    public Integer getVersion()
    {
        return version;
    }
    public void setDuration(Integer duration)
    {
        this.duration = duration;
    }

    public Integer getDuration()
    {
        return duration;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("taskId", getTaskId())
            .append("reportId", getReportId())
            .append("deptId", getDeptId())
            .append("reportPath", getReportPath())
            .append("reportName", getReportName())
            .append("reportStatus", getReportStatus())
            .append("version", getVersion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("duration", getDuration())
            .toString();
    }
}
